package com.zdkj.subway.support.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zdkj.subway.support.entity.SwParamLine;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 线路设置表
 *
 * @author cui_com
 * @date 2020-01-08 17:13:42
 */
public interface SwParamLineMapper extends BaseMapper<SwParamLine> {

    List<SwParamLine> getAll();

	List<SwParamLine> getRealAll();

	List<SwParamLine> getLineByCondition(String lineCode);

	List<SwParamLine> getSecondNameLine();

	List<SwParamLine> getLines(@Param("operatorsId") String operatorsId);

	List<SwParamLine> getSecondNameLineByOperator();

    Map<String, String> getLnameAndSnameByCode(@Param("lineCode") String lineCode, @Param("code") String code);

    List<SwParamLine> getSecondNameLineCase();

	List<SwParamLine> getLineAll();

}
